package com.sorter;

public class Person {

    private String name;

    private int wealth;

    private boolean sorted;
    
    public boolean isSorted() {
		return sorted;
	}


	public void setSorted(boolean sorted) {
		this.sorted = sorted;
	}


	public Person()
    {
 
    }
    
    
    public Person(String name, int wealth)
    {
    	this.name=name;
    	this.wealth=wealth;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String message) {
        this.name = message;
    }

    public int getWealth() {
        return this.wealth;
    }

    public void setWealth(int status) {
        this.wealth = status;
    }

}